<template>
    <div class="Nwne">
        <div class="layout">
            <div><h2>新增通知</h2></div>
            <div class="body">
                <div class="text">
                    <p>通知标题：<input type="textbox"></p>
                    <div>
                        <!--<Row>
                            <Col span="6"></Col>
                            <Col span="5">
                                通知时间：
                            </Col>

                            <Col span="7">
                                <DatePicker type="date" placeholder="Select date"></DatePicker>
                            </Col>
                            <Col span="6"></Col>
                        </Row>-->
                    </div>

                </div>

                <div>
                    <div style="width: 100px; margin-left: 50px;font-size: 20px ">通知内容</div>
                    <textarea name="" id="" style="width: 400px;height: 200px"></textarea>
                </div>
                <div class="button">
                    <input type="button" value="保存" @click="change" style="width: 100px">
                </div>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        name: "Nwne",
        methods:{
            change:function(){
                this.$router.push({name:'Ncmt'})
            }
        }
    }
</script>

<style scoped>
    .body{
        width: 500px;
        height: 350px;
        border: 1px solid #000;
        background-color: #E6E6E6;
        text-align: center;
    }
    .text{
        margin-top: 20px;
        font-size: 18px;
    }
    .button{
        margin-top: 20px;
    }
</style>